package design.builder;

/**
 * 抽象建造者
 */
public abstract class Builder {
    //创建产品对象
    protected Phone phone = new Phone();
    public abstract void buildPartScreen();
    public abstract void buildPartCell();
    public abstract void buildPartCpu();
    //返回产品对象
    public Phone getResult()
    {
        return phone;
    }
}
